package com.ruoyi.project.system.goods.fee.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 商品 邮费对象 goods_post_fee
 * 
 * @author LCL
 * @date 2020-06-12
 */
public class GoodsPostFee extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private String id;

    /** 地区关键字 */
    @Excel(name = "地区关键字")
    private String name;

    /** 费用 */
    @Excel(name = "费用")
    private BigDecimal postFee;

    /** 商品主键ID */
    @Excel(name = "商品主键ID")
    private String goodsId;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setPostFee(BigDecimal postFee) 
    {
        this.postFee = postFee;
    }

    public BigDecimal getPostFee() 
    {
        return postFee;
    }
    public void setGoodsId(String goodsId)
    {
        this.goodsId = goodsId;
    }

    public String getGoodsId()
    {
        return goodsId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("postFee", getPostFee())
            .append("goodsId", getGoodsId())
            .toString();
    }
}
